package top.infopub.mgr.flow.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.flow.dao.ProcessNodeAttDao;
import top.infopub.model.flow.ProcessNodeAtt;
import top.infopub.mgr.flow.service.ProcessNodeAttService;

@Service
public class ProcessNodeAttServiceImpl extends GenericServiceImpl<ProcessNodeAtt, String> implements
		ProcessNodeAttService {

	@Autowired
	private ProcessNodeAttDao processNodeAttDao;
	
	@Override
	public GenericDao<ProcessNodeAtt, String> getDao() {
		return processNodeAttDao;
	}

    @Override
    public void insertByBatch(List<ProcessNodeAtt> processNodeAtts) {
        processNodeAttDao.insertByBatch(processNodeAtts); 
    }

}